package com.hk.system.request;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginRequest {

    @NotNull(message = "用户登录名称不能为空")
    private String username;

    @NotNull(message = "用户密码不能为空")
    private String password;
}
